package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 订单对象 orders
 * 
 * @author ruoyi
 * @date 2025-03-18
 */
public class Orders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long ordersId;

    /** 学员id */
    @Excel(name = "学员id")
    private Long userId;

    /** 教练id */
    @Excel(name = "教练id")
    private Long coachId;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ordersStartTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ordersEndTime;

    /** 状态 */
    @Excel(name = "状态")
    private Long ordersState;

    /** 进度 */
    @Excel(name = "进度")
    private String ordersProgress;

    /** 课程id */
    @Excel(name = "课程id")
    private String orders1;

    /** $column.columnComment */
    private String orders2;

    /** $column.columnComment */
    private String orders3;

    public void setOrdersId(Long ordersId) 
    {
        this.ordersId = ordersId;
    }

    public Long getOrdersId() 
    {
        return ordersId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setCoachId(Long coachId) 
    {
        this.coachId = coachId;
    }

    public Long getCoachId() 
    {
        return coachId;
    }

    public void setOrdersStartTime(Date ordersStartTime) 
    {
        this.ordersStartTime = ordersStartTime;
    }

    public Date getOrdersStartTime() 
    {
        return ordersStartTime;
    }

    public void setOrdersEndTime(Date ordersEndTime) 
    {
        this.ordersEndTime = ordersEndTime;
    }

    public Date getOrdersEndTime() 
    {
        return ordersEndTime;
    }

    public void setOrdersState(Long ordersState) 
    {
        this.ordersState = ordersState;
    }

    public Long getOrdersState() 
    {
        return ordersState;
    }

    public void setOrdersProgress(String ordersProgress) 
    {
        this.ordersProgress = ordersProgress;
    }

    public String getOrdersProgress() 
    {
        return ordersProgress;
    }

    public void setOrders1(String orders1) 
    {
        this.orders1 = orders1;
    }

    public String getOrders1() 
    {
        return orders1;
    }

    public void setOrders2(String orders2) 
    {
        this.orders2 = orders2;
    }

    public String getOrders2() 
    {
        return orders2;
    }

    public void setOrders3(String orders3) 
    {
        this.orders3 = orders3;
    }

    public String getOrders3() 
    {
        return orders3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ordersId", getOrdersId())
            .append("userId", getUserId())
            .append("coachId", getCoachId())
            .append("ordersStartTime", getOrdersStartTime())
            .append("ordersEndTime", getOrdersEndTime())
            .append("ordersState", getOrdersState())
            .append("ordersProgress", getOrdersProgress())
            .append("orders1", getOrders1())
            .append("orders2", getOrders2())
            .append("orders3", getOrders3())
            .toString();
    }
}
